package com.ycu.jk16.mall.util.assistdata;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName AssistOrderItem  
 * @Description TODO(OrderDetail协助类，协助对json数据的输出) 
 * @author 倪宗龙
 * @date 2018年12月21日 上午12:55:18  
 * @version V1.0
 */
public class AssistOrderItem {
	private String orderNo;
	private Integer productId;
	private String productName;
	private String subTitle;
	private String productImage;
	private Integer quantity;
	private BigDecimal currentUnitPrice;
	private BigDecimal totalPrice;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	public AssistOrderItem() {
		super();
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductImage() {
		return productImage;
	}

	public void setProductImage(String productImage) {
		this.productImage = productImage;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public BigDecimal getCurrentUnitPrice() {
		return currentUnitPrice;
	}

	public void setCurrentUnitPrice(BigDecimal currentUnitPrice) {
		this.currentUnitPrice = currentUnitPrice;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "AssistOrderItem [orderNo=" + orderNo + ", productId=" + productId + ", productName=" + productName
				+ ", subTitle=" + subTitle + ", productImage=" + productImage + ", quantity=" + quantity
				+ ", currentUnitPrice=" + currentUnitPrice + ", totalPrice=" + totalPrice + ", createTime=" + createTime
				+ "]";
	}

}
